import { Injectable, Logger } from '@nestjs/common'
import { Cron, CronExpression } from '@nestjs/schedule'

@Injectable()
export class CronJobService {
  constructor(
  ) {}

  // https://crontab.guru/
  // @Cron(CronExpression.)
  @Cron("50/2 * * * * *")
  handleCronJob() {
    console.log(new Date())
  }

}
